#include <stdio.h>

#define tab 8

int main()
{
    int a , bla, pos ;

    printf("Start\n");
    bla = 0;
    pos = 1;
    while(( a = getchar()) != EOF){
        if (a =='\t'){
            bla = tab - (pos - 1) % tab;
            while(bla > 0){
                putchar(' ');
                pos++;
                bla--;
                }
            }
        else if (a =='\n'){
        putchar (a);
        pos = 1;
        }
        else{
            putchar(a);
            pos++;
        }
    }
    printf("End\n");
    return 0;
}
